#include <cstdio>
#include <cstring>
#include <iostream>
#include <algorithm>
using namespace std;
int main()
{
	char s[1100];
	while(scanf("%s",s)!=EOF)
	{
		if(s[0]>='a'&&s[0]<='z') s[0] = s[0]-32;
		puts(s);
	}
}
